package www.ym.com.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import www.ym.com.entity.Orders;
import www.ym.com.dao.OrdersCount;

import java.util.List;

@Mapper
public interface OrdersMapper extends BaseMapper<Orders> {

    //查询每天的消费数据
    List<OrdersCount> selectDayData(Long userId, String orderTime);

    List<OrdersCount> selectMonthData(Long userId, String orderTime);

}
